import request from '@/utils/request'

// 查询转账付款单列表
export function listZcTransferPayment(query) {
  return request({
    url: '/business/ZcTransferPayment/list',
    method: 'get',
    params: query
  })
}

// 查询转账付款单详细
export function getZcTransferPayment(id) {
  return request({
    url: '/business/ZcTransferPayment/' + id,
    method: 'get'
  })
}

// 新增转账付款单
export function addZcTransferPayment(data) {
  return request({
    url: '/business/ZcTransferPayment',
    method: 'post',
    data: data
  })
}

// 修改转账付款单
export function updateZcTransferPayment(data) {
  return request({
    url: '/business/ZcTransferPayment',
    method: 'put',
    data: data
  })
}

// 删除转账付款单
export function delZcTransferPayment(id) {
  return request({
    url: '/business/ZcTransferPayment/' + id,
    method: 'delete'
  })
}
